home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 4
/
CDPD_IV.bin
/
e
/
mailinglists
/
amigae.0793july.archive
/
000040_crash!axion.bt.…uk!D.Higginson_Tue, 20 Jul 93 03:46:04 PST.msg
< prev
next >
Wrap
Internet Message Format
|
1994-05-26
|
1KB
Received: by bkhouse.cts.com (V1.16/Amiga)
id AA00000; Tue, 20 Jul 93 03:46:04 PST
Received: from zaphod.axion.bt.co.uk by crash.cts.com with smtp
(Smail3.1.28.1 #15) id m0oIDLQ-0000JJC; Tue, 20 Jul 93 01:46 PDT
Received: from elephant.axion.bt.co.uk by zaphod.axion.bt.co.uk with SMTP (PP); Tue, 20 Jul 1993 09:46:14 +0100
Message-Id: <m0oIDLQ-0000JJC@crash.cts.com>
Date: Tue, 20 Jul 93 09:46:08 BST
From: D.Higginson@axion.bt.co.uk
To: amigae@bkhouse.cts.com
Cc: D.Higginson@axion.bt.co.uk
Subject: Passing parameters other than LONGs
Is it possible to write a procedure in Amiga E which
accepts as a parameter something other than a 4-byte value?
I ask because one of the GadTools slider features is to
call a conversion function of your own. It passes the
level of the slider as a WORD (2 bytes). If I try
typecasting any parameter I get a compilation error.
Failing this, can anyone tell me the machine code
instruction to directly POP the value from the stack? I
assume this is possible, but I don't know any 68000.
Finally, some hook functions like these expect you to save
and restore all the 68000 registers. Can anybody tell me
the instructions to do this? I have seen in programs
things like: "MOVE.L d0-d7,sp" or something to that effect.
Any help would be greatly appreciated
Cheers
Dave